import 'package:flutter/material.dart';
import 'package:yb_zsyiji_androidflutter_pro/YBHelper/YBTextStyle/YBTextStyle.dart';

class YBWorkTaiHeaderPage extends StatelessWidget {
  final String titleStr;
  final String subTitleStr;

  const YBWorkTaiHeaderPage({Key key, this.titleStr, this.subTitleStr}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
        child: Row(
          children: [
            Container(
              child: Text(titleStr??"",style: YBTextStyle.homeTitleText,),
            ),
            Container(
              width: YBTextStyle.adapterSize8,
            ),
            Container(
              child: Text(subTitleStr??"",style: YBTextStyle.workTaiTitleSubText,),
            ),
          ],
        ),
    );
  }
}
